package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-08
 */
public class SRescMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 目标地
     */
    @TableField("TARGET")
    private String target;

    /**
     * 是否展开 true false
     */
    @TableField("SPREAD")
    private Boolean spread;

    /**
     * 链接地址
     */
    @TableId("HREF")
    private String href;

    /**
     * 菜单图标
     */
    @TableField("ICON")
    private String icon;

    /**
     * 名称
     */
    @TableField("TITLE")
    private String title;

    /**
     * 资源编号
     */
    @TableField("RESC_ID")
    private String rescId;

    /**
     * 排序编号
     */
    @TableField("ORDER_ID")
    private Integer orderId;

    /**
     * 使用标志 on off
     */
    @TableField("USE_FLAG")
    private String useFlag;


    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Boolean getSpread() {
        return spread;
    }

    public void setSpread(Boolean spread) {
        this.spread = spread;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRescId() {
        return rescId;
    }

    public void setRescId(String rescId) {
        this.rescId = rescId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag;
    }

    @Override
    public String toString() {
        return "SRescMenu{" +
                "target=" + target +
                ", spread=" + spread +
                ", href=" + href +
                ", icon=" + icon +
                ", title=" + title +
                ", rescId=" + rescId +
                ", orderId=" + orderId +
                ", useFlag=" + useFlag +
                "}";
    }
}
